﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ControlLibrary;

namespace FeedbackControl
{
    public partial class FeedbackControl : System.Web.UI.UserControl, IEmbeddedUserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public string Name
        {
            get
            {
                return this.txtName.Text;
            }
        }

        public string Subject
        {
            get
            {
                return this.txtSubject.Text;
            }
        }

        public string Message
        {
            get
            {
                return this.txtMessage.Text;
            }
            set { this.txtMessage.Text = value; }
        }

        public string DDD(string s)
        {
            return string.Format("Invok {0}", s);
        }

        public void DDDs(string s)
        {
            string.Format("Invok {0}", s);
        }

        #region IEmbeddedUserControl 成员

        public object LoadData()
        {
            throw new NotImplementedException();
        }

        public object LoadData(object obj)
        {
            throw new NotImplementedException();
        }

        public bool Save()
        {
            throw new NotImplementedException();
        }

        public bool Save(object obj)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}